package net.suncaper.mvc.model.dto;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 评价数据传输对象
 */
public class ReviewDTO {
    /**
     * 评价ID
     */
    private Long reviewId;

    /**
     * 评价时间
     */
    private Date reviewTime;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 评分
     */
    private BigDecimal rating;

    /**
     * 评价内容
     */
    private String content;

    /**
     * 酒店名称
     */
    private String hotelName;

    // 无参构造函数
    public ReviewDTO() {
    }

    // 全参构造函数
    public ReviewDTO(Long reviewId, Date reviewTime, String userId, BigDecimal rating, String content, String hotelName) {
        this.reviewId = reviewId;
        this.reviewTime = reviewTime;
        this.userId = userId;
        this.rating = rating;
        this.content = content;
        this.hotelName = hotelName;
    }

    // Getter 和 Setter 方法
    public Long getReviewId() {
        return reviewId;
    }

    public void setReviewId(Long reviewId) {
        this.reviewId = reviewId;
    }

    public Date getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(Date reviewTime) {
        this.reviewTime = reviewTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getRating() {
        return rating;
    }

    public void setRating(BigDecimal rating) {
        this.rating = rating;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }
} 